phpseclib3\Net\SFTP D

Total Complexity 530
Dependencies 15
Dependents 1
Total lines 3,100
Lines of code 1,762
Logical lines of code 1,199
Comment lines 711
Methods 81
Properties 27

Methods 81

Method Rating Maintainability Complexity Lines of code
put()
D
24
47 153
parseAttributes()
D
30 42 106
get()
D
29
33 125
comparator()
C
41 26 52
readlist()
B
36 22 75
realpath()
B
39 20 66
get_sftp_packet()
B
38 18 67
init_sftp_connection()
B
41 16 51
setstat_recursive()
A
42 15 51
lstat()
A
44 15 46
stat()
A
46 14 40
delete_recursive()
A
44 13 45
rawlist()
A
47 12 33
update_stat_cache()
A
49 12 29
partial_init_sftp_connection()
A
43 9 53
parseMode()
A
53 10 24
touch()
A
46 9 36
delete()
A
48 9 34
chdir()
A
47 9 34
nlist_helper()
A
52 9 24
filetype()
A
54 8 22
setstat()
A
48 7 32
rename()
S
50 7 28
chmod()
S
50 7 28
get_xstat_cache_prop()
S
57 7 17
symlink()
S
50 6 27
readlink()
S
53 5 24
rmdir()
S
54 5 22
mkdir()
S
54 5 20
remove_from_stat_cache()
S
56 5 18
parseLongname()
S
59 5 15
recursiveFilesize()
S
61 5 12
is_readable()
S
57 4 17
mkdir_helper()
S
56 4 17
is_writable()
S
57 4 17
read_put_responses()
S
58 4 15
query_stat_cache()
S
59 4 14
setListOrder()
S
60 4 13
getSupportedVersions()
S
60 4 13
file_exists()
S
61 4 13
stat_helper()
S
59 3 14
close_handle()
S
59 3 14
send_sftp_packet()
S
58 3 14
logError()
S
61 3 12
getSFTPLog()
S
62 3 12
filesize()
S
71 3 5
__construct()
S
63 3 10
precheck()
S
66 3 9
is_file()
S
68 2 7
chgrp()
S
68 2 6
getNegotiatedVersion()
S
72 2 6
getLastSFTPError()
S
78 2 3
is_link()
S
68 2 7
pwd()
S
72 2 6
chown()
S
68 2 6
parseTime()
S
66 2 8
is_dir()
S
68 2 7
append_log()
S
63 1 13
filegroup()
S
79 1 3
reset_connection()
S
69 1 7
enableDatePreservation()
S
81 1 3
disconnect_helper()
S
76 1 4
setPreferredVersion()
S
81 1 3
disableStatCache()
S
81 1 3
is_writeable()
S
80 1 3
getSFTPErrors()
S
82 1 3
enableStatCache()
S
81 1 3
clearStatCache()
S
81 1 3
enablePathCanonicalization()
S
81 1 3
fileowner()
S
79 1 3
disablePathCanonicalization()
S
81 1 3
enableArbitraryLengthPackets()
S
81 1 3
disableArbitraryLengthPackets()
S
81 1 3
fileatime()
S
79 1 3
filemtime()
S
79 1 3
nlist()
S
79 1 3
get_lstat_cache_prop()
S
79 1 3
get_stat_cache_prop()
S
79 1 3
truncate()
S
74 1 4
fileperms()
S
79 1 3
disableDatePreservation()
S
81 1 3